API Browser

Union

Union<T1, T2, T3, T4, T5>

T1 | T2 | T3 | T4 | T5

Namespace: System
Assembly: Raven.Core.dll
Source file: Union.rvn

Inheritance: Object → ValueType → Union<T1, T2, T3, T4, T5>

Represents a value that can contain one of five alternative types.

Type parameters

Name Description
T1 The first alternative type.
T2 The second alternative type.
T3 The third alternative type.
T4 The fourth alternative type.
T5 The fifth alternative type.

Constructors

5 items
Union(value: T1) No summary available.
Union(value: T2) No summary available.
Union(value: T3) No summary available.
Union(value: T4) No summary available.
Union(value: T5) No summary available.

Properties

2 items
HasValue: bool Represents a value that can contain one of five alternative types.
Value: object? Represents a value that can contain one of five alternative types.

Methods

9 items
Equals(obj: object?) -> bool Indicates whether this instance and a specified object are equal. Inherited from ValueType.Equals
GetHashCode() -> int Returns the hash code for this instance. Inherited from ValueType.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
ToString() -> string No summary available. Overrides ValueType.ToString
TryGetValue(value: out T1) -> bool No summary available.
TryGetValue(value: out T2) -> bool No summary available.
TryGetValue(value: out T3) -> bool No summary available.
TryGetValue(value: out T4) -> bool No summary available.
TryGetValue(value: out T5) -> bool No summary available.